SPOON: A library for implementing analyses and transformations of Java source code

نویسندگان

  • Renaud Pawlak
  • Martin Monperrus
  • Nicolas Petitprez
  • Carlos Noguera
  • Lionel Seinturier
چکیده

This article presents Spoon, a library for the analysis and transformation of Java source code. Spoon enables Java developers to write a large range of domain-specific analyses and transformations in an easy and concise manner. Spoon analyses and transformations are written in plain Java. With Spoon, developers do not need to dive into parsing, to hack a compiler infrastructure, or to master a new formalism.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Refactoring Java Programs using Spoon

TTC’2015 is the 8th Transformation Tool Contest for users and developers of transformation tools. In this paper, we present the use of Spoon, an open-source library to transform and analyze Java source code for the code refactoring track of TTC’2015. We use Spoon to implement pull-up-method and create super-class refactorings. The implementation uses an unmodified revision of Spoon and is done ...

متن کامل

The COMPOST, COMPASS, Inject/J and RECODER Tool Suite for Invasive Software Composition: Invasive Composition with COMPASS Aspect-Oriented Connectors

Program analyses and transformations are means to support program evolution and bridge architectural mismatches in component composition. The Program Structures Group at the University of Karlsruhe und the FZI Karlsruhe, that we have been members of, have developed a suite of program analysis and transformation tools to attack these problems. The basic tool Recoder offers sophisticated source c...

متن کامل

Providing Continuations in Java via Source Code Transformations

Implementing first class continuations poses a problem in Java because virtual machines generally provide no facilities to access or replace the run-time stack from the source code. This project report presents a virtual machine independent and compiler independent technique by which the source code of Java programs can be transformed to easily and efficiently manipulate (partial) continuations...

متن کامل

Interactive Transformation of Java Programs

Implementing large and sweeping changes to software source code can be tedious and error-prone. A conceptually simple change can require a significant code editing effort. Any source code modification can be viewed as a transformation of one program into another. Integrating scriptable sourceto-source program transformations into development environments can assist developers with many repetiti...

متن کامل

JScheme : A Scheme Interpreter Embedded Within Java Source Code

Mixing two or more programming languages together within a single project can be nontrivial, involving different types of source code that must be compiled by different programs to generate various object or class files. We demonstrate a novel method of implementing JScheme, a variant of the Scheme language, that embeds both its source and object code within standard Java source files. We provi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Softw., Pract. Exper.

دوره 46  شماره 

صفحات  -

تاریخ انتشار 2016